<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Send_uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_uid" data-rule="required" class="form-control" name="row[send_uid]" type="number" value="{$row.send_uid|htmlentities}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amount" data-rule="required" class="form-control" disabled step="0.01" name="row[amount]" type="number" value="{$row.amount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Send_bank_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_bank_name" data-rule="required" class="form-control" disabled name="row[send_bank_name]" type="text" value="{$row.send_bank_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Send_bank_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_bank_number" data-rule="required" class="form-control" disabled name="row[send_bank_number]" type="text" value="{$row.send_bank_number|htmlentities}">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Send_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-send_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[send_time]" type="text" value="{:$row.send_time?datetime($row.send_time):''}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_bank_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_bank_name" data-rule="required" class="form-control" disabled name="row[receive_bank_name]" type="text" value="{$row.receive_bank_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_uname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_uname" data-rule="required" class="form-control" disabled name="row[receive_uname]" type="text" value="{$row.receive_uname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_bank_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_bank_no" data-rule="required" class="form-control" disabled name="row[receive_bank_no]" type="text" value="{$row.receive_bank_no|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_bank_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_bank_number" data-rule="required" class="form-control" disabled name="row[receive_bank_number]" type="text" value="{$row.receive_bank_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apply_status')}:</label>
        <!--<div class="col-xs-12 col-sm-8">
            <input id="c-apply_status" data-rule="required" class="form-control" name="row[apply_status]" type="number" value="{$row.apply_status|htmlentities}">
        </div>-->
        <div class="col-xs-12 col-sm-4">
            {if in_array($row.apply_status, [1,2])}
            <select id="apply_status" class="form-control selectpicker" disabled>
                <option value="1">请选择</option>
                <option value="2"{if $row.apply_status == 2} selected="selected"{/if}>通过</option>
                <option value="3"{if $row.apply_status == 3} selected="selected"{/if}>失败</option>
            </select>
            {else /}
            <select id="apply_status" class="form-control selectpicker" name="row[apply_status]">
                <option value="1">请选择</option>
                <option value="2"{if $row.apply_status == 2} selected="selected"{/if}>通过</option>
                <option value="3"{if $row.apply_status == 3} selected="selected"{/if}>失败</option>
            </select>
            {/if}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
